package Com.amit.Java_New_Feature;

public class Lab19 
{
	enum Session
	{
		WINTER(5),SUMMER(10),FALL(23),SPRING(101);
		
		private int value;

		private Session(int value) {
			this.value = value;
		}
	}
	public static void main(String[] args) {
		
//		Session s=Session.SPRING;
//		System.out.println(s);
		
		for(Session s:Session.values())
		{
			System.out.println(s+" "+s.value);
		}
		
	}
}
